package com.jshare.service;

import java.io.File;
import java.util.List;

import com.jshare.entity.Detool;

public interface DetoolService {
	
	public List<Detool> getListByFuzzyName(String name);
	
	public void add(Detool detool,File upload,String savePath,String uploadFileName);
	
	public Detool loadById(int id);
	
	public List<Detool> getListByPage(int pageNow,int pageSize);
	
	public int getPageCount();
	
	public int getRowCount();
	
	public boolean delete(int id, String savePath);
	
	public void update(Detool detool);
	
	public void download(int id);
	
	public boolean uploadService(File upload,String savePath,String uploadFileName);
	
	public boolean exists(Detool detool);
	
}
